home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Part Server.4 < prev    next >
Encoding:
Internet Message Format  |  1996-07-09  |  2.2 KB  |  [TEXT/ttxt]

  1. Subject:     RE: Part Server
  2. Sent:        7/9/96 5:20 PM
  3. Received:    7/9/96 5:52 PM
  4. From:        Chris Hunt, chris_hunt@yes.optus.com.au
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. I wrote:
  9. " ...I'm writing a faceless part editor that is communicated with
  10. via AppleEvents; the preferred method of interprocess communication for
  11. MacOS 8.  I'm also conforming to the AppleEvent Registry Core Suite fully
  12. ('cause its the right thing to do!).
  13.  
  14. So long as my service doesn't require any co-operative services, the part
  15. editor should be able to run as a pre-emptive task in the future
  16. (providing that OpenDoc enables this to happen with MacOS 8)."
  17.  
  18. Greg Friedman wrote:
  19.  
  20. "I'll say this again: I don't think it is a good idea to try to write a
  21. "faceless" OpenDoc part. I also think that trying to make such a part
  22. scriptable will be seriously confusing to users."
  23.  
  24. Making a part editor scriptable doesn't necessarily mean that users will communicate directly with it.  I'm doing it 'cause I really want to support AppleEvents and this seems to be the way that its done i.e. no real overhead for the additional support of being scriptable.  Someone please correct me if I'm wrong.
  25.  
  26. Also, by using script running capabilities within my service's clients, I can factor out the calls made to the service.  Thus, my client code becomes simplified.  Again, someone please correct me if I'm wrong.
  27.  
  28. Access to my service from the user's perspective may be performed via parts that access the service i.e the service may be effectively adopted by the client part.
  29.  
  30. Greg Friedman wrote:
  31. "I seriously suggest you investigate alternative implementations. I'm still
  32. not sure why extensions or even a shared library won't work in this case."
  33.  
  34. AppleEvents.  There's no event loop in a shared library.
  35.  
  36. Also, how about my comment re. co-operative vs re-entrable service access?  I'm really striving to have this service be something that can occur behind the scenes.  Greg hasn't addressed this goal in his response.  ;^)
  37.  
  38. Regards,
  39.  
  40. Christopher Hunt    ?%^)
  41. Class Action Pty. Ltd.
  42. Wollongong, NSW
  43. AUSTRALIA
  44.  
  45. e-mail: chris_hunt@yes.optus.com.au
  46.